<template>
	<view class="box">
		<!-- <view class="back"></view> -->
		<view class="top textOver">
			拼团时间剩余00:14:59,请尽快邀请好友参与哦
		</view>
		<view class="cont">
			<view class="head">
				<text class="textOver" style="font-size: 35rpx;">香满楼东企鹅</text>
				<view class="right">
					<text>进店逛逛</text>
					<image class="icon_next" src="../../static/images/mine/icon_next.png" mode=""></image>
				</view>
			</view>
			<view class="line"></view>
			<view class="contBot" style="padding: 18rpx 24rpx;">
				<view class="leftImg">
					<image src="../../static/images/growVegetables/pay_icon.png" mode=""></image>
					<text>3人团</text>
				</view>
				<view class="rightCont">
					<view class="textOver" style="font-size: 35rpx;">香满楼东企鹅香满楼东企鹅</view>
					<view class="person">3人套餐</view>
					<view class="contPrice">
						<view class="price"><text>￥79</text>￥119</view>
						<view class="bulkPrice">拼团价￥<text>59</text></view>
					</view>
					<text class="num">x1</text>
				</view>
				<view class="line" style="margin: 25rpx 0 20rpx;"></view>
				<view class="bottomPrice">
					<view class="total">
						合计: <text>￥59.00</text>
					</view>
					<text class="tit">待成团</text>
				</view>
			</view>
		</view>
		<view class="bulkPerson">
			<view class="head"><text>3</text>人成团,当前有<text>2</text>人参团</view>
			<view class="line" style="margin: 20rpx 0;"></view>
			<view class="img">
				<image src="../../static/images/growVegetables/pay_icon.png" mode=""></image>
				<image src="../../static/images/growVegetables/pay_icon.png" mode=""></image>
				<view class="block">+</view>
			</view>
		</view>
		<view class="cont">
			<view class="head">
				<text class="textOver" style="font-size: 35rpx;">商家信息</text>
			</view>
			<view class="line"></view>
			<view class="contBot" style="display: flex;justify-content: space-between;padding: 18rpx 24rpx;">
				<view class="left-content">
					<view class="text">营业时间: 10:00-23:00</view>
					<view class="text">电话: 0760-22519221</view>
					<view class="text">地址: 广东省中山是南投正南投达到西67好(中山是家电拆改内心中电信大楼三楼)</view>
				</view>
				<view class="detailsBoxRight">
					<button type="primary" @tap="callphone" plain size="mini">致电</button>
					<button type="primary" @tap="handleMapLocation" plain size="mini">导航</button>
				</view>
			</view>
		</view>
		<view class="cont">
			<view class="head">
				<text class="textOver" style="font-size: 35rpx;">订单信息</text>
			</view>
			<view class="line"></view>
			<view class="contBot" style="display: flex;justify-content: space-between;padding: 18rpx 24rpx;">
				<view class="left-content">
					<view class="text">订单编号: 10:00-23:00</view>
					<view class="text">创建时间: 0760-22519221</view>
					<view class="text">预留时间: 0760-22519221</view>
					<view class="text">配送方式: 家电拆改内心中电信大楼三楼)</view>
				</view>
				<view class="detailsBoxRight" style="display: inline-block;">
					<button type="primary" @tap="callphone" plain size="mini" class="btnCopy">复制</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import cartcontrol from '@/components/cartcontrol.vue'
	import Skeleton from '@/components/ls-skeleton/ls-skeleton.nvue';
	import hqsPopup from "@/components/hqs-popup/hqs-popup.vue"
	export default {
		components: {
			cartcontrol,
			Skeleton,
			hqsPopup
		},
		data() {
			return {
			
			}
		}
	}
</script>

<style scoped>
	.box {
		padding: 30rpx;
	}
	
	/* .back {
		position: absolute;
		z-index: -1;
		background-color: #86cc14;
		height: 600rpx;
		width: 100%;
		top: 0;
		left: 0;
		border-radius: 0 0 235rpx 116rpx;
	} */

	.cont {
		background-color: #FFFFFE;
		border-radius: 25rpx;
		overflow: hidden;
		margin-bottom: 30rpx;

	}

	.cont .head {
		padding: 18rpx 24rpx;
		font-weight: 700;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.cont .head .right {
		font-size: 30rpx;
		font-weight: normal;
	}

	.cont .head image {
		width: 30rpx;
		height: 30rpx;
		vertical-align: middle;
	}

	.line {
		height: 3rpx;
		background-color: #eee;
	}

	.cont .contBot {
		padding: 0 30rpx;
	}

	.contBot .leftImg {
		width: 150rpx;
		height: 150rpx;
		border-radius: 15rpx;
		overflow: hidden;
		position: absolute;
		border: 2rpx solid #eee;
	}

	.contBot .leftImg image {
		width: 100%;
		height: 100%;
	}

	.contBot .leftImg text {
		display: inline-block;
		color: #FFFFFE;
		background-color: #86cc14;
		position: absolute;
		top: -2px;
		left: 0px;
		font-size: 25rpx;
		padding: 0rpx 10rpx;
	}


	.contBot .rightCont {
		margin-left: 175rpx;
	}

	.contBot .rightCont .person {
		color: #aaaaaa;
		font-size: 30rpx;
		margin-bottom: 8rpx;
	}

	.contBot .rightCont .contPrice {}

	.rightCont .contPrice .price {
		color: #aaaaaa;
		font-size: 25rpx;
		text-decoration: line-through;
		display: inline-block;
	}

	.rightCont .contPrice .price text {
		color: #ff7800;
		font-weight: bold;
		text-decoration: line-through;
		font-size: 38rpx;
		margin-right: 10rpx;
	}

	.rightCont .contPrice .bulkPrice {
		font-size: 26rpx;
		background: #86cc14;
		color: #fff;
		text-align: center;
		border-radius: 15rpx;
		width: 170rpx;
		display: inline-block;
		margin-left: 15rpx;
		padding: 5rpx 0;
	}

	.num {
		float: right;
		margin-top: -34rpx;
		color: #cccccc;
		font-size: 30rpx;
	}

	.rightCont .contPrice .bulkPrice text {
		font-size: 40rpx;
		font-weight: bold;
	}

	.bottomPrice {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10rpx;
	}

	.total {
		font-size: 36rpx;
	}

	.total text {
		color: #ff7800;
		font-weight: bold;
		margin-left: 5rpx;
	}

	.tit {
		color: #90d028;
		font-size: 32rpx;
	}

	.bulkPerson {
		background: #fff;
		padding: 20rpx 30rpx;
		border-radius: 20rpx;
		margin-bottom: 30rpx
	}

	.bulkPerson .head {
		font-size: 35rpx;
		font-weight: bold;
	}

	.bulkPerson .head text {
		color: #87cc16;
	}

	.detailsBoxRight {
		width: 25%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}

	.bulkPerson image {
		width: 70rpx;
		height: 70rpx;
		margin-right: 25rpx;
		vertical-align: bottom;
		border: 2rpx solid #eee;
		border-radius: 50%;
	}

	.top {
		text-align: center;
		font-size: 30rpx;
		background: #f5ffe6;
		margin-bottom: 35rpx;
		height: 90rpx;
		line-height: 90rpx;
		color: #86cc14;
		border-radius: 30rpx;
	}

	.block {
		display: inline-block;
		width: 70rpx;
		height: 70rpx;
		color: #cccccc;
		background: #eeeeee;
		text-align: center;
		line-height: 70rpx;
		border-radius: 50%;
		border: 2rpx dashed;
		box-sizing: border-box;
	}

	.left-content {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		width: 450rpx;
	}

	.left-content .text {
		font-size: 30rpx;
		color: #a3a3a3;
	}
</style>
